# 题目三：新建“test3”Python文件：读取“天气预报Json”文件，要求输出苏州市未来3天的温度和天气情况。

import json

tqyb = open("天气预报json.txt", 'r', encoding="utf-8")

tqyb_json = json.load(tqyb)

day = 3

print(tqyb_json['result']['city'])
for i in range(day):
    print(tqyb_json['result']["future"][i])
